package Module;

import java.io.Serializable;

/*
 * This provides the workers an interface to get
 * the information of a work unit.
 */
public interface WorkUnit extends Serializable {

    /* Get the id of this work unit */
    public int getWorkUnitID();

    /* Get the program body */
    public byte[] getProgramBody();

    /* Get the program name */
    public String getProgramName();

    /* Get the arugment of execute program */
    public String[] getArguments();

    /* Get the name of data file */
    public String getDatafileName();

    /* Get the data file */
    public byte[] getDatafile();

    /* Get the name of output file*/
    public String getOutputFileName();

}
